.sm_main .sm_header{
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FEFEFE', endColorstr='#EEEEEE'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#FEFEFE), to(#EEEEEE)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #FEFEFE,  #EEEEEE); /* for firefox 3.6+ */
    box-shadow: 2px 2px 2px #BEBEBE;
    padding-bottom: 5px;
    position: relative;
    width: 100%;
}
.menu_contest_admin{
	background: url('image/green-bar.jpg');
	border-top: 1px solid #CCCCCC;
}
.sm_menu .front
{
	background: #F2F2F2;
}
.sm_menu.front>li>a
{
	color:black;
	font-weight: bold;
	cursor: pointer;
	font-size: 11px;
	padding: 0 5px;
	text-decoration: none;
}
.sm_menu.front>li>a:after
{

}
.sm_menu.front>li>a:hover
{
	text-decoration: none;
}

.sm_grid_layout>li
{
	background: #efefef;
	border: 1px solid #d5d5d5;
	text-align: center;
	margin: 5px;
	padding-top: 6px;
}
.sm_grid_layout>li:hover
{
	background:#bbcadf;
	border: 1px solid #7c899a;
}
.sm_form.classic.edit_entry input[type=text],
.sm_form.classic.edit_entry select,
.sm_form.classic.edit_entry textarea
{
	width: 490px;
    border: 1px solid #999;
    border-radius: 3px;
}
.sm_message_panel p
{
	padding: 0;
    margin: 0;
    line-height: 150%;
}
/*-- SM_FORM*/
.hint>span{
	display: block;
}
.hint img{
	border:1px dashed #888888;
	height: 50px;
	margin-top: 12px;
	display: inline;
}
.hint .btn_delete{
	cursor: pointer;
	color: #3B5998;
	text-decoration: underline;
	padding-left: 6px;
}
.hint span>*{
	vertical-align: middle;
}
.errors_parnel{
	background: none repeat scroll 0 0 #F9EDBE;
    border-top: 1px solid #F0C36D;
    border-bottom: 1px solid #F0C36D;
    color: #252524;
    padding: 10px 24px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 7px;
}
hr
{
	height: 1px;
	border-width: 0;
	color:gray;
	background-color:gray
}
.submit_form dd
{
	padding: 5px 0;
}
.submit_form dt
{
	padding: 2px 0;
}
.submit_form label.required:after
{
	content: " *";
	color:red;
}
.submit_form form.sm_form dt>label.required:before{
	color: #FF0000;
	content: "";
	padding-right: 0px;
}
.image_banner
{
	display: block;
	clear:both;
	border: none;
}
.sm810 .image_banner
{
	max-width: 810px;
}
.menu-wrapper
{

}
.photo_container
{
	background: #CCCCCC;
	width: 100%;
	display: block;
	clear:both;
}
.img
{
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
}
.photo_detail
{
	background: none repeat scroll 0 0 #F2F2F2;
    border-top: medium none;
    border-bottom: 1px solid #E2E2E2;
    padding: 4px 6px 5px;
}
.view_detail
{
	float: left;
	text-align: left;
	padding: 10px;
}
.sm_grid_layout img
{
	border: none;
}
fieldset
{
	border: 1px solid #d9d9d9;
}
hr
{
	background: #d9d9d9;
}
.quote_tooltip
{
    background:url('image/quote_tooltip.png') no-repeat left top;
    display:block;
    height:14px;
    left:-6px;
    position:absolute;
    top:10px;
    width:6px;
}
.add_note:hover,
.content_tooltip > ul > li a:hover
{
    text-decoration:underline;
}
.wrap_tooltip
{
    display:inline-block;
    zoom:1;
    height:15px;
    margin-left:5px;
    position:relative;
    width:10px;
	line-height: 150%;
}
.tooltip_note
{
    color:#464646;
    font-size:11px;
    padding-left:0px;
}
.content_tooltip p{
	border:0px;
}

.btn_green a
{
	background:url('image/icon_loadfan.png') no-repeat left top;
	color:#fff;
	display:block;
	font-weight:bold;
	padding:9px 10px 9px 30px;
}
.btn_green {
    background: url('image/btn_green.png') repeat-x scroll left top transparent;
    border: 1px solid #385B28;
    border-radius: 4px 4px 4px 4px;
    display: inline-block;
    padding:0px 10px 0px 20px;
	line-height: 12px;
}
.content_tooltip
{
    background:#FFFCB1;
    border:1px solid #DFDA5F;
    display:none;
    left:15px;
    padding:10px 13px 5px;
    position:absolute;
    top:-10px;
    width:220px;
}
.content_tooltip p
{
    padding-bottom:7px;
}
.content_tooltip > ul
{
    text-align:right;
}
.content_tooltip > ul > li
{
    display:inline-block;
    zoom:1;
    *display:inline;
    padding-top:5px;
}
.content_tooltip > ul > li a:hover
{
    text-decoration:underline;
}
.content_tooltip:hover
{
    display:block;
}
.tooltip_note:hover + .content_tooltip,
.content_tooltip:hover
{
    display:block;
}
.wrap_tooltip a
{
	word-wrap: normal;
}
/*--{Begin Override table classic*/
table.sm_tbl_classic{
	margin: 10px 0;
}

table#list_submission{
    margin-top: 7px;
}

table.sm_tbl_classic th > * {
    display: block;
    height: 100%;
    vertical-align: middle;
	padding: 0 2px 0 8px;
}
table.sm_tbl_classic th > span{
/*    padding: 0 6px*/
}
table.sm_tbl_classic th > a {
    color: #000000;
}
table.sm_tbl_classic th > a span{
	display: block;
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 10px;
}
table.sm_tbl_classic th > span.check_all_entry{
    padding: 0 10px;
    line-height: 0px;
}
table.sm_tbl_classic tr td.check_entry{
    padding: 15px 10px;
    vertical-align: top;
}
table.sm_tbl_classic th > a:hover,
table.sm_tbl_classic th > a.desc,
table.sm_tbl_classic th > a.asc{
	background: #E3E3E3;
}

table.sm_tbl_classic th > a.desc span{
    background-image: url("image/arrow-desc.gif");
}
table.sm_tbl_classic th > a.asc span{
    background-image: url("image/arrow-asc.gif");
}
table.sm_tbl_classic tbody tr:hover {
    background: none repeat scroll 0 0 #F7F7F7;
}
/*--End: Override table classic}*/
#fieldset-fanpage{
	background: #F5F7FA;
}
.contest_prize
{
	background: #f2f2f2;
	border:1px solid #cccccc;
	padding: 10px;
}
.contest_prize > ul
{
}
.photo_resize
{
	max-width: 518px;
	border:1px solid #cccccc;
}
.tabs li {
	border-radius: 4px 4px 0 0;
	border:1px solid #f2f2f2;
	border-top: 2px solid #f2f2f2;
	border-bottom:none;
	padding:0 5px;
	line-height: 27px;
	display: inline-block;
	margin-top: 8px;
	margin-right:5px;
	margin-left:5px;
	padding: 0 5px;
}
.tabs li.active,
.tabs li:hover
{
	background: #FFFFFF;
	border:1px solid #DADADA;
	border-top: 2px solid #DADADA;
	border-bottom: none;
	padding: 0 5px;
}
.tabs li a
{
	color:black;
	font-weight: bold;
}
ul.sm_front_menu
{
	background:#F2f2f2;
	border-bottom:1px solid #DADADA;
	border-radius: 5px 5px 0 0;
	height: 37px;
	line-height: 37px;
	margin-top: 13px;
	padding: 0;
}
.sm520 ul.sm_front_menu
{
	width: 520px;
}
.sm810 ul.sm_front_menu
{
	width: 810px;
}
.left
{
	float:left;
}
.right
{
	float:right;
}
.entry-description
{
	font-size:14px;
}
ul.menu_contest_form li{
	padding-bottom: 16px;
}
ul.menu_contest_form li span{
}
ul.menu_contest_form li a{
	padding: 0 5px 0 2px;
    font-size: 13px;
}
ul.menu_contest_form li.steps.finish a{
	font-weight: normal;
    color: rgb(121, 172, 100);
}
ul.menu_contest_form li.steps.can_access a{
	font-weight: normal;
    color: rgb(121, 172, 100);
}
ul.menu_contest_form li.steps.remain a{
	font-weight: normal;
    color: rgb(115, 115, 115);
}
ul.menu_contest_form li.steps.remain:hover a{
    cursor: text;
}
ul.menu_contest_form li.steps.current a{
	font-weight: bold;
    color: #A27515;
}

ul.menu_contest_form li.steps.current{
	background: url(image/progress-arrow.png) no-repeat scroll center 20px;
}

.timeline_progress_bar .corner_left,
.timeline_progress_bar .corner_right{
	width: 4px;
}

.timeline_progress_bar .corner_left{
	background: url(image/progress-bar-left.png) no-repeat;
}

.timeline_progress_bar .corner_right{
	background: url(image/progress-bar-right.png) no-repeat;
}
.timeline_progress_bar .corner_right.finished{
	background: url(image/progress-bar-right-finished.png) no-repeat;
}

.timeline_progress_bar #progress-main{
	background: url(image/progress-bar-remain.png) repeat-x;
}

.timeline_progress_bar #progress-finished{
	background: url(image/progress-bar-finished.png) repeat-x;
}

.timeline_progress_bar #progress-remain{
}

/***/

#window_container{
	border: 1px #555555 solid;
}

#window_container #title_bar{
	color: rgb(255, 255, 255);
	background-color: rgb(109, 132, 180);
	font-size: 15px;
	font-weight: bold;
	padding: 5px;
	text-align: left;
}

#window_container #bottom_bar{
	color: rgb(0, 0, 0);
	background-color: rgb(242, 242, 242);
	padding: 8px;
	text-align: right;
	border-top: 1px solid rgb(198, 198, 198);
	height:23px;
}

#window_container #message{
	margin:10px 15px;
    line-height: 15px;
}

#window_container input[type=button] {
	font-size: 13px;
	background:#627aac;
	color:#fff;
	font-weight:bold;
	border: 1px #29447e solid;
	padding: 3px 3px 3px 3px;
	clear:both;
	margin-right:5px;
}

#window_container input[type=button]:hover {
	background:#4f6aa3;
}
.fb_dialog_content
{
	width: 400px;
}
#flash_message, #msg
{
	color:#BEBEBE;
}
.contest_detail
{
	padding-left: 10px;
}
label
{
	color: #333333;
	word-wrap:break-word;
}
.calendar + img{
	margin-left: 6px;

}
.social_plugin
{
	display: block;
	clear:both;
    padding-bottom: 10px;
}
.social_plugin .horizon > .element
{
	display: inline;
	float:right;
	padding-left: 10px;
	margin-top: -14px;
}
.sm_button.blue.small
{
	height:24px;
}
.share_url
{
	background: transparent;
}
.horizon.element{
	line-height: 24px;
}
a, p, label, strong
{
	word-wrap:break-word;
}
.icon
{
	filter: none !important;
	width: 14px;
	height: 14px;
	border: none;
}
.sm520 .detail-container
{
	max-width: 505px;
	margin: 0 auto;
}
.sm810 .detail-container
{
	max-width: 810px;
	margin: 0 auto;
}
.detail-container.full
{
	width: 95%;
	max-width: none;
	margin: 0 auto;
}
.clear-both
{
	display: block;
	clear: both;
}
#list_submission .thumb_image{
	width: 175px;
	border:none;
}
#list_submission p{
	width: 242px;
	max-width: 242px;
    margin: 5px 0;
}
#list_contest tbody tr td:first-child>*{
	max-width: 150px;
	width: 150px;
	margin: 0 0;
}

.cp_paging {
    background: none repeat scroll 0 0 #F8F8F8;
    clear: both;
    color: #666666;
    padding: 18px 0;
    text-align: center;
    width: 100%;
}
.sm_fanpage_contents .cp_paging{
    background: none transparent;
    padding: 0px 0 20px;
}
.ci_paging > li{
    display: inline-block;
}

.cp_paging > li.disabled ,
.cp_paging > li.disabled:hover 
{
    border: 1px solid #CCCCCC;
    display: inline-block;
    padding: 3px 7px;
}

.cp_paging > li.active{
    padding: 3px 7px;
    display: inline-block;
}

.cp_paging > li.active , 
.cp_paging > li:hover a
{
    background: none repeat scroll 0 0 #3B5998;
    border: 1px solid #3B5998;
    color: #FFFFFF;
    display: inline-block;
}

.cp_paging li{
    display: inline-block;
}

.cp_paging li a, 
.cp_paging > li.disabled a,
.cp_paging > li.disabled:hover a
{
    border: 1px solid #CCCCCC;
    display: inline-block;
    padding: 3px 7px;
}

.ellipsis {
	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;
	width:150px;
	font-weight: bold;
	width: 150px;
	padding: 5px 0 5px 0;
}
.strong
{
	font-weight: bold;
}
.link_back
{
    background:#F3F3F3;
    color:#343434;
    display:inline-block;
    zoom:1;
    *display:inline;
    font-size:11px;
    padding:3px 5px;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}
.link_back:hover
{
    background:#333;
    color:#fff;
}
.error
{
	color: #FF0000;
	font-weight: bold;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
	width: 46% !important;
}
.goto_admin
{
	font-size: 11px;
	font-weight: bold;
}
.sm_front_panel ul li a 
{
    color: #FFFFFF;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
}
.sm_front_panel p
{
	color: #363636;
	margin-bottom: 10px;
    margin-top: -1px;
}
#form_seach{
	padding-top: 10px;
	text-align: center;
}
#form_seach>*{
	vertical-align: middle;
}
#form_seach input[type="submit"]{
	font-size: 13px;
    padding: 4px 10px;
    line-height: normal;
    height: 27px;
}
#form_seach input[type="text"]{
	height: 22px;
    width: 384px;
    padding: 0px 4px;
    border: 1px solid #CCC;
    border-radius: 3px;
    font-size: 13px;
}
#form_seach #s, #form_seach #c{
    width: 130px;
    line-height: 100%;
    height: 22px;
    border: 1px solid #CCC;
    border-radius: 3px;
    padding: 0;
    font-size: 13px;
}
#search_form
{
	float:right;
	display: block;
	clear: both;
	position: relative;
}
.entries_wrapper
{
	display: block;
	clear: both;
	float: left;
}
form.sm_form.detail > dl > dt{
    line-height: 22px;
}
form.sm_form.detail > dl > dd 
{
    line-height: 22px;
}
form.sm_form.search > dl > *
{
	vertical-align: top;
}
form.sm_form.search select
{
	height: 22px;
	padding: 2px;
}
form.sm_form.search input[type=submit]
{
	height: 25px;
	height: 27px \0/;
	line-height: 25px;
}
form.sm_form.search input[type=text]
{
	height: 20px;
	width: 240px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* Webkit-specific CSS here */
	form.sm_form.search input[type=submit]
	{
		height: 27px;
		line-height: 25px;
	}
}
.forie
{
	max-width: 300px;
}

.sm810 .pic_item
{
	width: 185px;
	height: 185px;
}
.sm520 .pic_item
{
	width: 150px;
	height: 150px;
}
.sm520 .photo
{
	max-width: 495px;
}

.sm810 .photo
{
	max-width: 800px;
	width: 800px;
}
.sm520.fangate
{
	max-width: 510px;
	margin: 0 auto;
}
.sm810.fangate
{
	max-width: 800px;
	margin: 0 auto;
}
#master_container 
{
	
}
.window_container ul{	list-style: disc inside;}
.window_container ol{	list-style: decimal inside;}

.report{
    background: url("image/xls-icon.jpg") no-repeat;
    padding: 4px 4px 4px 25px;
}

.entries_control{
    width: 100%;
    margin-top: 10px;
    display: inline-block;
}
.entries_control > a#btn_approve{
    background: url("image/vsd_arrow.gif") no-repeat 12px 5px;
    padding-left: 35px;
    padding-bottom: 10px;
}
.entries_control > a{
    padding-left: 20px;
    line-height: 150%;
}
.entries_control > a:hover{
    text-decoration: underline;
}
.entries_control > span.submission_number{
    float: right;
    margin-right: 10px;
    line-height: 150%;
    font-weight: bold;
}

.entries_control > a.graybutton, .entries_control > a.greenbutton{
    display: block;
    padding: 0 10px;
    margin-left: 8px;
    float: left;
    line-height: 24px;
}

span.tooltip_label{
    cursor: pointer;
}

.load_fanpages span {
    background: url("image/icon_loadfan.png") no-repeat scroll 0 -3px transparent;
    color: white;
    display: block;
    float: left;
    font-weight: bold;
    height: 24px;
    line-height: 24px;
    padding-left: 24px;
    vertical-align: middle;
}
.load_fanpages {
    cursor: pointer;
    display: block;
    float: left;
    padding: 2px 24px 2px 8px;
}

/*
 * CSS Basic form
 */
 #fanpages-label+dd label,
.sm_listfan li {
    color: #333333;
    float: left;
    height: 27px;
    line-height: 25px;
    padding-right: 20px;
    width: 240px;
}
#fanpages-label+dd label > span,
.sm_listfan li span{
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 200px;
    display: inline-block;
    overflow: hidden;
    cursor: text;
    vertical-align: middle;
    line-height: normal;
}
/*
 * CSS Time Life Form
 */
#campaign_container {
	padding: 0 20px 20px;
}
#campaign_container h2 {
	 background-color: #EDF5E4;
    border-bottom: 1px solid #DDE6D5;
	border-top: 1px solid #DDE6D5;
    font-size: 15px;
    font-weight: normal;
    padding: 5px 0 5px 10px;
    text-shadow: 1px 0;
}
#campaign_summary{
	margin-bottom: 20px;
}
#campaign_summary h3 {
	padding-left: 10px;
}
#demographicform, form#activityform {
	padding-left: 37px;
}
#campaign_container .errors {
	color: red;
}
#controlform  {
	margin-left: 65px;
}
#controlform div {
	float: left;
}
#controlform .zend_form {
	width: 100%;
	height: 30px;	
}
#controlform .calendar + img {
	vertical-align: middle;
	margin: 0 20px 0 6px;
	cursor: pointer;
}
#controlform .form_label {
	line-height: 27px;
	margin-right: 6px;
}
#controlform input#View {
	padding: 3px 5px;
}
#controlform input[type="text"] {
	height: 16px;
}
#campaign_container table td {
	
}
i.view { 
	background-color: #1E98CC;
    margin: 0 10px 0 2px;
    padding: 0 6px 0 7px;
    vertical-align: sub;
}
i.like { 
	background-color: #50B432;
    margin: 0 10px 0 2px;
    padding: 0 6px 0 7px;
    vertical-align: sub;
}
i.vote { 
	background-color: #EA911F;
    margin: 0 10px 0 2px;
    padding: 0 6px 0 7px;
    vertical-align: sub;
}
#activity_zone , #activity_zone, #gender_age {
	border-left: 1px solid #DDE6D5;
	border-right: 1px solid #DDE6D5;
	border-bottom: 1px solid #DDE6D5;
	margin-bottom: 20px;
	padding-bottom: 10px;
}
table.campaign_headline {
	width: 100%;
}
table.campaign_headline tbody:first-child {
	background-color: #F9F9F9;
	border: 1px solid #DADADA;
	font-size: 14px;
	margin-bottom: 15px;
	width: 100%;
}
table.campaign_headline tbody:first-child td{
	font-size: 15px;
}
table.campaign_headline tbody:first-child tr:first-child {
	margin-bottom: 5px;
}
table.campaign_headline tbody:first-child tr:first-child td {
	padding-top: 10px;
	padding-bottom: 5px;
}
table.campaign_headline tbody:first-child td:first-child{
	width: 140px;
	padding-left: 5px;
}
table.campaign_headline tr:last-child td {
	padding-bottom: 10px;
}

table.campaign_detail {
	border-bottom: 1px solid #eaeaea;
	border-left: 1px solid #eaeaea;
	border-right: 1px solid #eaeaea;
	width : 100%;
}
table.campaign_detail tr {
	height: 20px;
}
table.campaign_detail tr:first-child td{
	padding-top: 10px;
}

table.campaign_detail td{
	padding-bottom: 5px;
}
table.statistic_data {
	border-bottom: 1px solid #eaeaea;
}

table.campaign_detail td:first-child {
	padding-left: 5px;
	width: 105px;
}
table.campaign_detail tr td:nth-child(3)  {
	width: 110px;
}
table.campaign_detail tr td:nth-child(2) {
	width: 170px;
}
table.campaign_detail tr td:nth-child(4) {
	width: 160px;
}
#campaign_container h1 {
	color: #67A54B;
    font-size: 24px;
    font-weight: normal;
}
.form_element [for=options-view] {
	color: #1E98CC;
	margin-right: 10px;
}
.form_element [for=options-like] {
	color: #50B432;
	margin-right: 10px;
}
.form_element [for=options-vote] {
	color: #EA911F;
	margin-right: 10px;
}